package com.zhangrui.utils;

import org.junit.Test;

import java.util.UUID;

/**
 * ClassName:IDutils
 * Package:com.zhangrui.utils
 * Description:
 *
 * @Date:2021/8/2521:10
 * @Author:zhangrui@qq.com
 */
@SuppressWarnings("all")
public class IDutils {
    public static String getId() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    @Test
    public void test() {
        System.out.println(IDutils.getId());
        System.out.println(IDutils.getId());
        System.out.println(IDutils.getId());
        System.out.println(IDutils.getId());
    }
}
